class TwitterCrawl < ActiveRecord::Base
  belongs_to :service    # foreign key - service_id
  has_one :twitter_data, :foreign_key => :crawl_id
  
  def data
    self.twitter_data
  end
  
  def data=(new_data)
    self.twitter_data = new_data
  end
  
  def create_data(args = {})
    create_twitter_data args
  end
end
